package com.mallplus.rbac.vo;

import com.mallplus.common.core.vo.BaseVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 角色VO
 *
 * @author Hanson
 * @date 2023/4/15 16:54
 */
@Data
public class RoleVO extends BaseVo {

    private static final long serialVersionUID = 1l;

    @Schema(description = "角色id")
    private Long roleId;

    @Schema(description = "角色名称")
    private String roleName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建者ID")
    private Long createUserId;

    @Schema(description = "所属租户ID")
    private Long tenantId;

    @Schema(description = "类型")
    private Integer bizType;

    @Schema(description = "菜单id列表")
    private List<Long> menuIds;

    @Schema(description = "菜单资源id列表")
    private List<Long> menuPermissionIds;

    @Override
    public String toString() {
        return "RoleVO{" +
                "roleId=" + roleId +
                ", roleName=" + roleName + '\'' +
                ", remark=" + remark + '\'' +
                ", createUserId=" + createUserId +
                ", tenantId=" + tenantId +
                ", bizType=" + bizType +
                ", menuIds=" + menuIds +
                ", menuPermissionIds=" + menuPermissionIds +
                "}" + super.toString();
    }
}
